<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>NumCpp: DataCube.hpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">NumCpp
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">A C++ implementation of the Python Numpy library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('_data_cube_8hpp_source.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">DataCube.hpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_data_cube_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#pragma once</span></div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_nd_array_8hpp.html">NumCpp/NdArray.hpp</a>&quot;</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_filesystem_8hpp.html">NumCpp/Core/Filesystem.hpp</a>&quot;</span></div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_types_8hpp.html">NumCpp/Core/Types.hpp</a>&quot;</span></div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;</div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="preprocessor">#include &lt;deque&gt;</span></div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="preprocessor">#include &lt;limits&gt;</span></div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacenc.html">nc</a></div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;{</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;    <span class="comment">//================================================================================</span></div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="comment"></span>    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> dtype&gt;</div><div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="classnc_1_1_data_cube.html">   44</a></span>&#160;    <span class="keyword">class </span><a class="code" href="classnc_1_1_data_cube.html">DataCube</a></div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;    {</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;    <span class="keyword">public</span>:</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;        <span class="comment">//================================Typedefs==================================</span></div><div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="classnc_1_1_data_cube.html#adfed19a7fda0e5d4742ae4818c338a99">   48</a></span>&#160;        <span class="keyword">typedef</span> <span class="keyword">typename</span> std::deque&lt;NdArray&lt;dtype&gt; &gt;<a class="code" href="classnc_1_1_data_cube.html#adfed19a7fda0e5d4742ae4818c338a99">::iterator</a>       <a class="code" href="classnc_1_1_data_cube.html#adfed19a7fda0e5d4742ae4818c338a99">iterator</a>;</div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="classnc_1_1_data_cube.html#aaade9ff59e3fe56b9b36c9c3883f6d3e">   49</a></span>&#160;        <span class="keyword">typedef</span> <span class="keyword">typename</span> std::deque&lt;NdArray&lt;dtype&gt; &gt;<a class="code" href="classnc_1_1_data_cube.html#aaade9ff59e3fe56b9b36c9c3883f6d3e">::const_iterator</a> <a class="code" href="classnc_1_1_data_cube.html#aaade9ff59e3fe56b9b36c9c3883f6d3e">const_iterator</a>;</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;    <span class="keyword">private</span>:</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;        <span class="comment">//================================Attributes==================================</span></div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;        std::deque&lt;NdArray&lt;dtype&gt; &gt;     cube_{};</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;        <a class="code" href="classnc_1_1_shape.html">Shape</a>                           elementShape_{ 0, 0 };</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;    <span class="keyword">public</span>:</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;        <span class="comment">//============================================================================</span></div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;<span class="comment"></span>        <a class="code" href="classnc_1_1_data_cube.html#a8224b613a7c87a16e06ef08d6f90926e">DataCube</a>() = <span class="keywordflow">default</span>;</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;        <span class="comment">//============================================================================</span></div><div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="classnc_1_1_data_cube.html#a7ae08af82b0553d2b294286bdf06703b">   67</a></span>&#160;<span class="comment"></span>        <a class="code" href="classnc_1_1_data_cube.html#a7ae08af82b0553d2b294286bdf06703b">DataCube</a>(<a class="code" href="namespacenc.html#aacba4d66f94f6f53637e23c5d82e20d8">uint32</a> inSize) :</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;            cube_(inSize)</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;        {};</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;        <span class="comment">//============================================================================</span></div><div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="classnc_1_1_data_cube.html#a8925f65b525c2b4fe04c711851b66828">   78</a></span>&#160;<span class="comment"></span>        <a class="code" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; <a class="code" href="classnc_1_1_data_cube.html#a8925f65b525c2b4fe04c711851b66828">at</a>(<a class="code" href="namespacenc.html#aacba4d66f94f6f53637e23c5d82e20d8">uint32</a> inIndex)</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;        {</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;            <span class="keywordflow">return</span> cube_.at(inIndex);</div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;        }</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;        <span class="comment">//============================================================================</span></div><div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="classnc_1_1_data_cube.html#ab78c6fc396ea087819cdef43f316da4e">   90</a></span>&#160;<span class="comment"></span>        <span class="keyword">const</span> <a class="code" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; <a class="code" href="classnc_1_1_data_cube.html#ab78c6fc396ea087819cdef43f316da4e">at</a>(<a class="code" href="namespacenc.html#aacba4d66f94f6f53637e23c5d82e20d8">uint32</a> inIndex)<span class="keyword"> const</span></div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;<span class="keyword">        </span>{</div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;            <span class="keywordflow">return</span> cube_.at(inIndex);</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;        }</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;        <span class="comment">//============================================================================</span></div><div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="classnc_1_1_data_cube.html#a5f746c56a1cf6a47747768a14e9383fc">  100</a></span>&#160;<span class="comment"></span>        <a class="code" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; <a class="code" href="classnc_1_1_data_cube.html#a5f746c56a1cf6a47747768a14e9383fc">back</a>()</div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;        {</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;            <span class="keywordflow">return</span> cube_.back();</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;        }</div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;</div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;        <span class="comment">//============================================================================</span></div><div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="classnc_1_1_data_cube.html#a8e97e7afdace6395e82b44d2c70a7014">  110</a></span>&#160;<span class="comment"></span>        <a class="code" href="classnc_1_1_data_cube.html#adfed19a7fda0e5d4742ae4818c338a99">iterator</a> <a class="code" href="classnc_1_1_data_cube.html#a8e97e7afdace6395e82b44d2c70a7014">begin</a>()</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;        {</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;            <span class="keywordflow">return</span> cube_.begin();</div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;        }</div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;</div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;        <span class="comment">//============================================================================</span></div><div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="classnc_1_1_data_cube.html#aff248af13543b07f8755a645e2511506">  120</a></span>&#160;<span class="comment"></span>        <a class="code" href="classnc_1_1_data_cube.html#aaade9ff59e3fe56b9b36c9c3883f6d3e">const_iterator</a> <a class="code" href="classnc_1_1_data_cube.html#aff248af13543b07f8755a645e2511506">cbegin</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;<span class="keyword">        </span>{</div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;            <span class="keywordflow">return</span> cube_.cbegin();</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;        }</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;</div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;        <span class="comment">//============================================================================</span></div><div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="classnc_1_1_data_cube.html#abbaa9ebba302183cae3563c9eb371ee3">  130</a></span>&#160;<span class="comment"></span>        <span class="keywordtype">void</span> <a class="code" href="classnc_1_1_data_cube.html#abbaa9ebba302183cae3563c9eb371ee3">dump</a>(<span class="keyword">const</span> std::string&amp; inFilename)<span class="keyword"> const</span></div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;<span class="keyword">        </span>{</div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;            <a class="code" href="classnc_1_1filesystem_1_1_file.html">filesystem::File</a> <a class="code" href="namespacenc_1_1random.html#a00229c23da25284daf436c0a338ea25c">f</a>(inFilename);</div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;            <span class="keywordflow">if</span> (!<a class="code" href="namespacenc_1_1random.html#a00229c23da25284daf436c0a338ea25c">f</a>.hasExt())</div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;            {</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;                <a class="code" href="namespacenc_1_1random.html#a00229c23da25284daf436c0a338ea25c">f</a>.withExt(<span class="stringliteral">&quot;bin&quot;</span>);</div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;            }</div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;</div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;            std::ofstream ofile(<a class="code" href="namespacenc_1_1random.html#a00229c23da25284daf436c0a338ea25c">f</a>.fullName().c_str(), std::ios::binary);</div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;            <span class="keywordflow">if</span> (!ofile.good())</div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;            {</div><div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;                <a class="code" href="_error_8hpp.html#a0f0ce4acf1fd6032112a06ebc50bb05a">THROW_RUNTIME_ERROR</a>(<span class="stringliteral">&quot;Could not open the input file:\n\t&quot;</span> + inFilename);</div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;            }</div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;</div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;            <span class="keywordflow">for</span> (<span class="keyword">auto</span>&amp; ndarray : cube_)</div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;            {</div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;                ofile.write(reinterpret_cast&lt;const char*&gt;(ndarray.cbegin()), ndarray.size() * <span class="keyword">sizeof</span>(dtype));</div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;            }</div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;</div><div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;            ofile.close();</div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;        }</div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;</div><div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;        <span class="comment">//============================================================================</span></div><div class="line"><a name="l00157"></a><span class="lineno"><a class="line" href="classnc_1_1_data_cube.html#ac569e0c62a9e5cbf21228b85128a53a5">  157</a></span>&#160;<span class="comment"></span>        <span class="keywordtype">bool</span> <a class="code" href="classnc_1_1_data_cube.html#ac569e0c62a9e5cbf21228b85128a53a5">isempty</a>() noexcept</div><div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;        {</div><div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;            <span class="keywordflow">return</span> cube_.empty();</div><div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;        }</div><div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;</div><div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;        <span class="comment">//============================================================================</span></div><div class="line"><a name="l00167"></a><span class="lineno"><a class="line" href="classnc_1_1_data_cube.html#a65b25455af3a2845f426af68d249c6ae">  167</a></span>&#160;<span class="comment"></span>        <a class="code" href="classnc_1_1_data_cube.html#adfed19a7fda0e5d4742ae4818c338a99">iterator</a> <a class="code" href="classnc_1_1_data_cube.html#a65b25455af3a2845f426af68d249c6ae">end</a>()</div><div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;        {</div><div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;            <span class="keywordflow">return</span> cube_.end();</div><div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;        }</div><div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;</div><div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;        <span class="comment">//============================================================================</span></div><div class="line"><a name="l00177"></a><span class="lineno"><a class="line" href="classnc_1_1_data_cube.html#af9484ba42f739c5a4e0a32c0d8f916ca">  177</a></span>&#160;<span class="comment"></span>        <a class="code" href="classnc_1_1_data_cube.html#aaade9ff59e3fe56b9b36c9c3883f6d3e">const_iterator</a> <a class="code" href="classnc_1_1_data_cube.html#af9484ba42f739c5a4e0a32c0d8f916ca">cend</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;<span class="keyword">        </span>{</div><div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;            <span class="keywordflow">return</span> cube_.cend();</div><div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;        }</div><div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;</div><div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;        <span class="comment">//============================================================================</span></div><div class="line"><a name="l00187"></a><span class="lineno"><a class="line" href="classnc_1_1_data_cube.html#a007b4c69b145e15faa40d8c3be4d36ba">  187</a></span>&#160;<span class="comment"></span>        <a class="code" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; <a class="code" href="classnc_1_1_data_cube.html#a007b4c69b145e15faa40d8c3be4d36ba">front</a>()</div><div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;        {</div><div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;            <span class="keywordflow">return</span> cube_.front();</div><div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;        }</div><div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;</div><div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;        <span class="comment">//============================================================================</span></div><div class="line"><a name="l00197"></a><span class="lineno"><a class="line" href="classnc_1_1_data_cube.html#a1e7e4ce08e0c57abb661a8f95192173e">  197</a></span>&#160;<span class="comment"></span>        <span class="keyword">const</span> <a class="code" href="classnc_1_1_shape.html">Shape</a>&amp; <a class="code" href="classnc_1_1_data_cube.html#a1e7e4ce08e0c57abb661a8f95192173e">shape</a>() const noexcept</div><div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;        {</div><div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;            <span class="keywordflow">return</span> elementShape_;</div><div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;        }</div><div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;</div><div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;        <span class="comment">//============================================================================</span></div><div class="line"><a name="l00207"></a><span class="lineno"><a class="line" href="classnc_1_1_data_cube.html#a36da58aa8d2ba848746e744e82b87942">  207</a></span>&#160;<span class="comment"></span>        <a class="code" href="namespacenc.html#aacba4d66f94f6f53637e23c5d82e20d8">uint32</a> <a class="code" href="classnc_1_1_data_cube.html#a36da58aa8d2ba848746e744e82b87942">size</a>() const noexcept</div><div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;        {</div><div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;            <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><a class="code" href="namespacenc.html#aacba4d66f94f6f53637e23c5d82e20d8">uint32</a><span class="keyword">&gt;</span>(cube_.size());</div><div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;        }</div><div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;</div><div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;        <span class="comment">//============================================================================</span></div><div class="line"><a name="l00215"></a><span class="lineno"><a class="line" href="classnc_1_1_data_cube.html#a8f17538e077a9eefdece159adb6673a1">  215</a></span>&#160;<span class="comment"></span>        <span class="keywordtype">void</span> <a class="code" href="classnc_1_1_data_cube.html#a8f17538e077a9eefdece159adb6673a1">pop_back</a>()</div><div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;        {</div><div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;            cube_.pop_back();</div><div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;        }</div><div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;</div><div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;        <span class="comment">//============================================================================</span></div><div class="line"><a name="l00223"></a><span class="lineno"><a class="line" href="classnc_1_1_data_cube.html#a48dc4f5dad4f94104ce545ad24ea13ac">  223</a></span>&#160;<span class="comment"></span>        <span class="keywordtype">void</span> <a class="code" href="classnc_1_1_data_cube.html#a48dc4f5dad4f94104ce545ad24ea13ac">pop_front</a>()</div><div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;        {</div><div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;            cube_.pop_front();</div><div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;        }</div><div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;</div><div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;        <span class="comment">//============================================================================</span></div><div class="line"><a name="l00233"></a><span class="lineno"><a class="line" href="classnc_1_1_data_cube.html#a00f652afe3e8734f7d0707b12afd6a65">  233</a></span>&#160;<span class="comment"></span>        <span class="keywordtype">void</span> <a class="code" href="classnc_1_1_data_cube.html#a00f652afe3e8734f7d0707b12afd6a65">push_back</a>(<span class="keyword">const</span> <a class="code" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; inArray)</div><div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;        {</div><div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;            <span class="keyword">const</span> <a class="code" href="classnc_1_1_shape.html">Shape</a> inputShape = inArray.<a class="code" href="classnc_1_1_nd_array.html#a232a5e8c426b629dcda9f9d52e8ce905">shape</a>();</div><div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;</div><div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;            <span class="keywordflow">if</span> (elementShape_.<a class="code" href="classnc_1_1_shape.html#a6f89f699dea6eb89eef19e00c92b223a">rows</a> == 0 &amp;&amp; elementShape_.<a class="code" href="classnc_1_1_shape.html#aae1a3c997648aacaefb60d0e6d0bf10d">cols</a> == 0)</div><div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;            {</div><div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;                <span class="comment">// initialize to the first input array size</span></div><div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;                elementShape_.<a class="code" href="classnc_1_1_shape.html#a6f89f699dea6eb89eef19e00c92b223a">rows</a> = inputShape.<a class="code" href="classnc_1_1_shape.html#a6f89f699dea6eb89eef19e00c92b223a">rows</a>;</div><div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;                elementShape_.<a class="code" href="classnc_1_1_shape.html#aae1a3c997648aacaefb60d0e6d0bf10d">cols</a> = inputShape.<a class="code" href="classnc_1_1_shape.html#aae1a3c997648aacaefb60d0e6d0bf10d">cols</a>;</div><div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;            }</div><div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;</div><div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;            <span class="keywordflow">if</span> (inputShape != elementShape_)</div><div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;            {</div><div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;                <a class="code" href="_error_8hpp.html#af2aff1172060367b9c5398fa097fa8fd">THROW_INVALID_ARGUMENT_ERROR</a>(<span class="stringliteral">&quot;element arrays must all be the same shape&quot;</span>);</div><div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;            }</div><div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;</div><div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;            cube_.push_back(inArray);</div><div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;        }</div><div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;</div><div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;        <span class="comment">//============================================================================</span></div><div class="line"><a name="l00257"></a><span class="lineno"><a class="line" href="classnc_1_1_data_cube.html#a320959d355bddd6993d851cf67a0f88d">  257</a></span>&#160;<span class="comment"></span>        <span class="keywordtype">void</span> <a class="code" href="classnc_1_1_data_cube.html#a320959d355bddd6993d851cf67a0f88d">push_front</a>(<span class="keyword">const</span> <a class="code" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; inArray)</div><div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;        {</div><div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;            <span class="keyword">const</span> <a class="code" href="classnc_1_1_shape.html">Shape</a> inputShape = inArray.<a class="code" href="classnc_1_1_nd_array.html#a232a5e8c426b629dcda9f9d52e8ce905">shape</a>();</div><div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;</div><div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;            <span class="keywordflow">if</span> (elementShape_.<a class="code" href="classnc_1_1_shape.html#a6f89f699dea6eb89eef19e00c92b223a">rows</a> == 0 &amp;&amp; elementShape_.<a class="code" href="classnc_1_1_shape.html#aae1a3c997648aacaefb60d0e6d0bf10d">cols</a> == 0)</div><div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;            {</div><div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;                <span class="comment">// initialize to the first input array size</span></div><div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;                elementShape_.<a class="code" href="classnc_1_1_shape.html#a6f89f699dea6eb89eef19e00c92b223a">rows</a> = inputShape.<a class="code" href="classnc_1_1_shape.html#a6f89f699dea6eb89eef19e00c92b223a">rows</a>;</div><div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;                elementShape_.<a class="code" href="classnc_1_1_shape.html#aae1a3c997648aacaefb60d0e6d0bf10d">cols</a> = inputShape.<a class="code" href="classnc_1_1_shape.html#aae1a3c997648aacaefb60d0e6d0bf10d">cols</a>;</div><div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160;            }</div><div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;</div><div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;            <span class="keywordflow">if</span> (inputShape != elementShape_)</div><div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;            {</div><div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;                <a class="code" href="_error_8hpp.html#af2aff1172060367b9c5398fa097fa8fd">THROW_INVALID_ARGUMENT_ERROR</a>(<span class="stringliteral">&quot;element arrays must all be the same shape.&quot;</span>);</div><div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;            }</div><div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;</div><div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;            cube_.push_front(inArray);</div><div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;        }</div><div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;</div><div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;        <span class="comment">//============================================================================</span></div><div class="line"><a name="l00283"></a><span class="lineno"><a class="line" href="classnc_1_1_data_cube.html#af85d4c43f1ced174000d1f1f2117d445">  283</a></span>&#160;<span class="comment"></span>        <a class="code" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; <a class="code" href="classnc_1_1_data_cube.html#af85d4c43f1ced174000d1f1f2117d445">operator[]</a>(<a class="code" href="namespacenc.html#aacba4d66f94f6f53637e23c5d82e20d8">uint32</a> inIndex)</div><div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160;        {</div><div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160;            <span class="keywordflow">return</span> cube_[inIndex];</div><div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;        }</div><div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;</div><div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;        <span class="comment">//============================================================================</span></div><div class="line"><a name="l00295"></a><span class="lineno"><a class="line" href="classnc_1_1_data_cube.html#ae23b9d13c65a75d269e34b7952ea8666">  295</a></span>&#160;<span class="comment"></span>        <span class="keyword">const</span> <a class="code" href="classnc_1_1_nd_array.html">NdArray&lt;dtype&gt;</a>&amp; <a class="code" href="classnc_1_1_data_cube.html#ae23b9d13c65a75d269e34b7952ea8666">operator[]</a>(<a class="code" href="namespacenc.html#aacba4d66f94f6f53637e23c5d82e20d8">uint32</a> inIndex)<span class="keyword"> const</span></div><div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;<span class="keyword">        </span>{</div><div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;            <span class="keywordflow">return</span> cube_[inIndex];</div><div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;        }</div><div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;    };</div><div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;}</div><div class="ttc" id="classnc_1_1_data_cube_html_a65b25455af3a2845f426af68d249c6ae"><div class="ttname"><a href="classnc_1_1_data_cube.html#a65b25455af3a2845f426af68d249c6ae">nc::DataCube::end</a></div><div class="ttdeci">iterator end()</div><div class="ttdef"><b>Definition:</b> DataCube.hpp:167</div></div>
<div class="ttc" id="classnc_1_1_data_cube_html_ab78c6fc396ea087819cdef43f316da4e"><div class="ttname"><a href="classnc_1_1_data_cube.html#ab78c6fc396ea087819cdef43f316da4e">nc::DataCube::at</a></div><div class="ttdeci">const NdArray&lt; dtype &gt; &amp; at(uint32 inIndex) const</div><div class="ttdef"><b>Definition:</b> DataCube.hpp:90</div></div>
<div class="ttc" id="classnc_1_1_data_cube_html_a007b4c69b145e15faa40d8c3be4d36ba"><div class="ttname"><a href="classnc_1_1_data_cube.html#a007b4c69b145e15faa40d8c3be4d36ba">nc::DataCube::front</a></div><div class="ttdeci">NdArray&lt; dtype &gt; &amp; front()</div><div class="ttdef"><b>Definition:</b> DataCube.hpp:187</div></div>
<div class="ttc" id="classnc_1_1_data_cube_html_a7ae08af82b0553d2b294286bdf06703b"><div class="ttname"><a href="classnc_1_1_data_cube.html#a7ae08af82b0553d2b294286bdf06703b">nc::DataCube::DataCube</a></div><div class="ttdeci">DataCube(uint32 inSize)</div><div class="ttdef"><b>Definition:</b> DataCube.hpp:67</div></div>
<div class="ttc" id="classnc_1_1_data_cube_html"><div class="ttname"><a href="classnc_1_1_data_cube.html">nc::DataCube</a></div><div class="ttdoc">Convenience container for holding a uniform array of NdArrays. </div><div class="ttdef"><b>Definition:</b> DataCube.hpp:44</div></div>
<div class="ttc" id="classnc_1_1_shape_html_a6f89f699dea6eb89eef19e00c92b223a"><div class="ttname"><a href="classnc_1_1_shape.html#a6f89f699dea6eb89eef19e00c92b223a">nc::Shape::rows</a></div><div class="ttdeci">uint32 rows</div><div class="ttdef"><b>Definition:</b> Core/Shape.hpp:45</div></div>
<div class="ttc" id="classnc_1_1_data_cube_html_a8925f65b525c2b4fe04c711851b66828"><div class="ttname"><a href="classnc_1_1_data_cube.html#a8925f65b525c2b4fe04c711851b66828">nc::DataCube::at</a></div><div class="ttdeci">NdArray&lt; dtype &gt; &amp; at(uint32 inIndex)</div><div class="ttdef"><b>Definition:</b> DataCube.hpp:78</div></div>
<div class="ttc" id="namespacenc_html"><div class="ttname"><a href="namespacenc.html">nc</a></div><div class="ttdef"><b>Definition:</b> Coordinate.hpp:45</div></div>
<div class="ttc" id="classnc_1_1_data_cube_html_a48dc4f5dad4f94104ce545ad24ea13ac"><div class="ttname"><a href="classnc_1_1_data_cube.html#a48dc4f5dad4f94104ce545ad24ea13ac">nc::DataCube::pop_front</a></div><div class="ttdeci">void pop_front()</div><div class="ttdef"><b>Definition:</b> DataCube.hpp:223</div></div>
<div class="ttc" id="classnc_1_1_data_cube_html_a36da58aa8d2ba848746e744e82b87942"><div class="ttname"><a href="classnc_1_1_data_cube.html#a36da58aa8d2ba848746e744e82b87942">nc::DataCube::size</a></div><div class="ttdeci">uint32 size() const noexcept</div><div class="ttdef"><b>Definition:</b> DataCube.hpp:207</div></div>
<div class="ttc" id="classnc_1_1_nd_array_html_a232a5e8c426b629dcda9f9d52e8ce905"><div class="ttname"><a href="classnc_1_1_nd_array.html#a232a5e8c426b629dcda9f9d52e8ce905">nc::NdArray::shape</a></div><div class="ttdeci">Shape shape() const noexcept</div><div class="ttdef"><b>Definition:</b> NdArrayCore.hpp:3600</div></div>
<div class="ttc" id="classnc_1_1_data_cube_html_a8e97e7afdace6395e82b44d2c70a7014"><div class="ttname"><a href="classnc_1_1_data_cube.html#a8e97e7afdace6395e82b44d2c70a7014">nc::DataCube::begin</a></div><div class="ttdeci">iterator begin()</div><div class="ttdef"><b>Definition:</b> DataCube.hpp:110</div></div>
<div class="ttc" id="namespacenc_html_aacba4d66f94f6f53637e23c5d82e20d8"><div class="ttname"><a href="namespacenc.html#aacba4d66f94f6f53637e23c5d82e20d8">nc::uint32</a></div><div class="ttdeci">uint32_t uint32</div><div class="ttdef"><b>Definition:</b> Types.hpp:41</div></div>
<div class="ttc" id="_filesystem_8hpp_html"><div class="ttname"><a href="_filesystem_8hpp.html">Filesystem.hpp</a></div></div>
<div class="ttc" id="classnc_1_1_data_cube_html_af9484ba42f739c5a4e0a32c0d8f916ca"><div class="ttname"><a href="classnc_1_1_data_cube.html#af9484ba42f739c5a4e0a32c0d8f916ca">nc::DataCube::cend</a></div><div class="ttdeci">const_iterator cend() const</div><div class="ttdef"><b>Definition:</b> DataCube.hpp:177</div></div>
<div class="ttc" id="classnc_1_1_data_cube_html_aaade9ff59e3fe56b9b36c9c3883f6d3e"><div class="ttname"><a href="classnc_1_1_data_cube.html#aaade9ff59e3fe56b9b36c9c3883f6d3e">nc::DataCube::const_iterator</a></div><div class="ttdeci">std::deque&lt; NdArray&lt; dtype &gt; &gt;::const_iterator const_iterator</div><div class="ttdef"><b>Definition:</b> DataCube.hpp:49</div></div>
<div class="ttc" id="_error_8hpp_html_a0f0ce4acf1fd6032112a06ebc50bb05a"><div class="ttname"><a href="_error_8hpp.html#a0f0ce4acf1fd6032112a06ebc50bb05a">THROW_RUNTIME_ERROR</a></div><div class="ttdeci">#define THROW_RUNTIME_ERROR(msg)</div><div class="ttdef"><b>Definition:</b> Error.hpp:39</div></div>
<div class="ttc" id="_nd_array_8hpp_html"><div class="ttname"><a href="_nd_array_8hpp.html">NdArray.hpp</a></div></div>
<div class="ttc" id="classnc_1_1_data_cube_html_a8224b613a7c87a16e06ef08d6f90926e"><div class="ttname"><a href="classnc_1_1_data_cube.html#a8224b613a7c87a16e06ef08d6f90926e">nc::DataCube::DataCube</a></div><div class="ttdeci">DataCube()=default</div></div>
<div class="ttc" id="classnc_1_1_data_cube_html_a00f652afe3e8734f7d0707b12afd6a65"><div class="ttname"><a href="classnc_1_1_data_cube.html#a00f652afe3e8734f7d0707b12afd6a65">nc::DataCube::push_back</a></div><div class="ttdeci">void push_back(const NdArray&lt; dtype &gt; &amp;inArray)</div><div class="ttdef"><b>Definition:</b> DataCube.hpp:233</div></div>
<div class="ttc" id="classnc_1_1_data_cube_html_ac569e0c62a9e5cbf21228b85128a53a5"><div class="ttname"><a href="classnc_1_1_data_cube.html#ac569e0c62a9e5cbf21228b85128a53a5">nc::DataCube::isempty</a></div><div class="ttdeci">bool isempty() noexcept</div><div class="ttdef"><b>Definition:</b> DataCube.hpp:157</div></div>
<div class="ttc" id="classnc_1_1_data_cube_html_a8f17538e077a9eefdece159adb6673a1"><div class="ttname"><a href="classnc_1_1_data_cube.html#a8f17538e077a9eefdece159adb6673a1">nc::DataCube::pop_back</a></div><div class="ttdeci">void pop_back()</div><div class="ttdef"><b>Definition:</b> DataCube.hpp:215</div></div>
<div class="ttc" id="_error_8hpp_html_af2aff1172060367b9c5398fa097fa8fd"><div class="ttname"><a href="_error_8hpp.html#af2aff1172060367b9c5398fa097fa8fd">THROW_INVALID_ARGUMENT_ERROR</a></div><div class="ttdeci">#define THROW_INVALID_ARGUMENT_ERROR(msg)</div><div class="ttdef"><b>Definition:</b> Error.hpp:38</div></div>
<div class="ttc" id="classnc_1_1_data_cube_html_a320959d355bddd6993d851cf67a0f88d"><div class="ttname"><a href="classnc_1_1_data_cube.html#a320959d355bddd6993d851cf67a0f88d">nc::DataCube::push_front</a></div><div class="ttdeci">void push_front(const NdArray&lt; dtype &gt; &amp;inArray)</div><div class="ttdef"><b>Definition:</b> DataCube.hpp:257</div></div>
<div class="ttc" id="_types_8hpp_html"><div class="ttname"><a href="_types_8hpp.html">Types.hpp</a></div></div>
<div class="ttc" id="classnc_1_1_data_cube_html_abbaa9ebba302183cae3563c9eb371ee3"><div class="ttname"><a href="classnc_1_1_data_cube.html#abbaa9ebba302183cae3563c9eb371ee3">nc::DataCube::dump</a></div><div class="ttdeci">void dump(const std::string &amp;inFilename) const</div><div class="ttdef"><b>Definition:</b> DataCube.hpp:130</div></div>
<div class="ttc" id="classnc_1_1_data_cube_html_af85d4c43f1ced174000d1f1f2117d445"><div class="ttname"><a href="classnc_1_1_data_cube.html#af85d4c43f1ced174000d1f1f2117d445">nc::DataCube::operator[]</a></div><div class="ttdeci">NdArray&lt; dtype &gt; &amp; operator[](uint32 inIndex)</div><div class="ttdef"><b>Definition:</b> DataCube.hpp:283</div></div>
<div class="ttc" id="classnc_1_1_shape_html"><div class="ttname"><a href="classnc_1_1_shape.html">nc::Shape</a></div><div class="ttdoc">A Shape Class for NdArrays. </div><div class="ttdef"><b>Definition:</b> Core/Shape.hpp:41</div></div>
<div class="ttc" id="classnc_1_1_data_cube_html_adfed19a7fda0e5d4742ae4818c338a99"><div class="ttname"><a href="classnc_1_1_data_cube.html#adfed19a7fda0e5d4742ae4818c338a99">nc::DataCube::iterator</a></div><div class="ttdeci">std::deque&lt; NdArray&lt; dtype &gt; &gt;::iterator iterator</div><div class="ttdef"><b>Definition:</b> DataCube.hpp:48</div></div>
<div class="ttc" id="classnc_1_1_data_cube_html_aff248af13543b07f8755a645e2511506"><div class="ttname"><a href="classnc_1_1_data_cube.html#aff248af13543b07f8755a645e2511506">nc::DataCube::cbegin</a></div><div class="ttdeci">const_iterator cbegin() const</div><div class="ttdef"><b>Definition:</b> DataCube.hpp:120</div></div>
<div class="ttc" id="classnc_1_1filesystem_1_1_file_html"><div class="ttname"><a href="classnc_1_1filesystem_1_1_file.html">nc::filesystem::File</a></div><div class="ttdoc">Provides simple filesystem functions. </div><div class="ttdef"><b>Definition:</b> Filesystem.hpp:40</div></div>
<div class="ttc" id="classnc_1_1_nd_array_html"><div class="ttname"><a href="classnc_1_1_nd_array.html">nc::NdArray</a></div><div class="ttdoc">Holds 1D and 2D arrays, the main work horse of the NumCpp library. </div><div class="ttdef"><b>Definition:</b> NdArrayCore.hpp:66</div></div>
<div class="ttc" id="classnc_1_1_data_cube_html_ae23b9d13c65a75d269e34b7952ea8666"><div class="ttname"><a href="classnc_1_1_data_cube.html#ae23b9d13c65a75d269e34b7952ea8666">nc::DataCube::operator[]</a></div><div class="ttdeci">const NdArray&lt; dtype &gt; &amp; operator[](uint32 inIndex) const</div><div class="ttdef"><b>Definition:</b> DataCube.hpp:295</div></div>
<div class="ttc" id="classnc_1_1_shape_html_aae1a3c997648aacaefb60d0e6d0bf10d"><div class="ttname"><a href="classnc_1_1_shape.html#aae1a3c997648aacaefb60d0e6d0bf10d">nc::Shape::cols</a></div><div class="ttdeci">uint32 cols</div><div class="ttdef"><b>Definition:</b> Core/Shape.hpp:46</div></div>
<div class="ttc" id="namespacenc_1_1random_html_a00229c23da25284daf436c0a338ea25c"><div class="ttname"><a href="namespacenc_1_1random.html#a00229c23da25284daf436c0a338ea25c">nc::random::f</a></div><div class="ttdeci">dtype f(dtype inDofN, dtype inDofD)</div><div class="ttdef"><b>Definition:</b> f.hpp:57</div></div>
<div class="ttc" id="classnc_1_1_data_cube_html_a1e7e4ce08e0c57abb661a8f95192173e"><div class="ttname"><a href="classnc_1_1_data_cube.html#a1e7e4ce08e0c57abb661a8f95192173e">nc::DataCube::shape</a></div><div class="ttdeci">const Shape &amp; shape() const noexcept</div><div class="ttdef"><b>Definition:</b> DataCube.hpp:197</div></div>
<div class="ttc" id="classnc_1_1_data_cube_html_a5f746c56a1cf6a47747768a14e9383fc"><div class="ttname"><a href="classnc_1_1_data_cube.html#a5f746c56a1cf6a47747768a14e9383fc">nc::DataCube::back</a></div><div class="ttdeci">NdArray&lt; dtype &gt; &amp; back()</div><div class="ttdef"><b>Definition:</b> DataCube.hpp:100</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_34171bd951b13a53aa9f237277a18e40.html">NumCpp</a></li><li class="navelem"><a class="el" href="dir_a0b3eef1c4a290b815c33ad6e7027cf3.html">Core</a></li><li class="navelem"><a class="el" href="_data_cube_8hpp.html">DataCube.hpp</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
  </ul>
</div>
</body>
</html>
